<%@ page contentType="text/html;charset=utf-8"%>
<%@ page import="ext.acae2.workflow.TaskConfigrationHelper" %>
<%@ page import="ext.acae2.dms.send.DataSendHelper" %>
<%
  String wiOid = request.getParameter("oid");
  String selDepartment = request.getParameter("selDepartment");
  if(selDepartment==null){
	  selDepartment="";
  }else{
	  selDepartment = selDepartment.substring(0,selDepartment.lastIndexOf(","));
  }
  selDepartment = DataSendHelper.displaySendDept(selDepartment);
  TaskConfigrationHelper.setProcessVariableByVarName(wiOid,"selectDept",selDepartment);
  out.println("success");
%>

